

var galleryTop = new Swiper('.gallery-top', {
    spaceBetween: 10,
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
  });
  var galleryThumbs = new Swiper('.gallery-thumbs', {
    spaceBetween: 10,
    centeredSlides: true,
    slidesPerView: 'auto',
    touchRatio: 0.2,
    slideToClickedSlide: true,
  });
  galleryTop.controller.control = galleryThumbs;
  galleryThumbs.controller.control = galleryTop;

    // 渲染列表
    $(".list li").hover(
        function () {
          $(this).css({
            "background":"#b60005",
            "color":"#fff",
          });
        },
        function () {
          $(this).css({
            "background":"#ffff",
            "color":"##525252",
          });
        }
      );

      $(".navul li").hover(
        function () {
          $(this).css({
            "background":"#b60005"
          });
        },
        function () {
          $(this).css({
            "background":"#3c3c3c",
          });
        }
      );
      $(".menu2").click(function(){
        if($(".menu2_list").css("display")=="none"){
        
        $(".menu2_list").show();
        
        }else{
        
        $(".menu2_list").hide();
        
        }
        
        });

    